package cn.edu.csmzxy.rk233x.auth_system.entity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import java.time.LocalDateTime;
/**
 * @author wumxing
 * @date 2025/10/15 9:48
 * @description 用户角色关联实体
 */
@Data
@TableName("sys_user_role")
public class SysUserRole {
    @TableId(type = IdType.AUTO)
    private Long id;
    private Long userId;  // 用户ID
    private Long roleId;  // 角色ID
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
}
